package com.sakiko.home3.service.impl;

import com.sakiko.home3.dao.StudentDao;
import com.sakiko.home3.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;

@Service // id studentServiceImpl
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentDao studentDao;

    @Override
    public void findList() throws SQLException {
        studentDao.queryAll();
    }
}
